package org.spring.cloud.manager;


import java.util.List;

import org.spring.cloud.model.SeckillModel;
import org.spring.cloud.util.Result;

public interface SeckillManager {

	void save(SeckillModel seckillModel);
	
	List<SeckillModel>querySeckilModels();

	SeckillModel getById(Long id);
	
	void updateByModel(SeckillModel seckillModel);

	Result<Boolean> secikllRush(Long userId,Long seckllId);
}
